package mips.instruction;

import mips.Reg;
import mips.element.Instruction;

public class MOVE extends Instruction {
    private Reg target;
    private Reg source;

    public MOVE(Reg target, Reg source) {
        this.target = target;
        this.source = source;
    }

    public Reg getTarget() {
        return target;
    }

    public Reg getSource() {
        return source;
    }

    public String toString() {
        return "move\t" + target + " " + source;
    }
}
